package cn.smbms.service.Collect;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.smbms.dao.collect.CollectMapper;

@Service
public class CollectServiceImpl implements CollectService {
	@Resource
	private CollectMapper collectMapper;

	@Override
	public int add(Integer userid, Integer proid) {
		int i = collectMapper.add(userid, proid);
		return i;
	}

	@Override
	public int del(Integer userid, Integer proid) {
		int i = collectMapper.del(userid, proid);
		return i;
	}

}
